package com.freewater.library.lending.book.application.command;

import lombok.Getter;
import org.apache.commons.lang3.Validate;

@Getter
public class PutOnBookInstanceCommand {
    /**
     * 二维码
     */
    private final String qrCode;

    public PutOnBookInstanceCommand(String qrCode) {
        Validate.notBlank(qrCode, "二维码不能为空");
        this.qrCode = qrCode;
    }
}
